package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.Recruit;
import com.xmy.cultivate.entity.RecruitList;
import com.xmy.cultivate.entity.TeacherPoint;
import com.xmy.cultivate.entity.TryJob;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 试岗 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-08
 */
public interface ITryJobService extends IService<TryJob> {

    //查询List集合
    List<TryJob> queryTryJobList(IPage<TryJob> page ,String startDate, String endDate, String type, String name, String schoolId,String subjectId);

    List<TryJob> getAllocateSchoolList(String stationId);

    List<TryJob> getTryJobPopUpList(String schoolId, Long teacherId);


    /**
     * 试岗通过运营主管查看提示
     */
    List<TryJob> getManagerTryJobPopUpList(String schoolId, Long teacherId,String subjectsId);


    public List<RecruitList> tryJobRate(String startDate, String endDate, String departmentId, String stationsId, String labourId, String type, String yearPart, String quarterNum, String dateType, String theirType, String subjectsId);

    public IPage<Recruit> tryJobRateDetails(IPage<?> page,
                                            String startDate,
                                            String endDate,
                                            String departmentId,
                                            String stationsId,
                                            String labourId,
                                            String type,
                                            String inviterId,
                                            String yearPart,
                                            String quarterNum,
                                            String dateType,
                                            String recruitStatus,
                                            String theirType,
                                            String subjectsId

    );


    public TryJob  getTryJobById(Long id);

    public List<TryJob> getForceCommentList(String schoolId,String subjectsId,String formattedDate);



}
